<div style="height: 25px;width: 100%;font-size: 12px;">
    <div style="float: right;padding-top:8px;text-align: right;padding-right: 8px;">
        <?php echo $_SESSION[ 'admin_name' ]; ?>,您好,你有<a class="msg_alert_tag">5</a>条消息! &nbsp;&nbsp;|&nbsp;&nbsp;
        <a href="<?= site_url( 'admin/admin/index' ); ?>">后台首页</a> &nbsp;&nbsp;|&nbsp;&nbsp;
        <a target="_blank" href="<?= site_url( 'home/home/index' ); ?>">网站首页</a> &nbsp;&nbsp; |&nbsp;&nbsp;
        <a href="<?= site_url( 'admin/privilege/loginOut' ); ?>">退出系统</a>
    </div>
</div>
<div id="main" class="easyui-tabs" style="" data-options="plain:true,justified:true,narrow:true,fit:true">

    <div title="博客后台" style="padding:5px 0">

        <div id="bb" class="easyui-tabs" data-options="tabPosition:'left',fit:true" style="width:100%;">
            <div title="phpinfo()" style="padding:10px">

                <!-- --><?php /*phpinfo(); */ ?>
            </div>
            <div title="My Documents" style="padding:10px">
                <ul class="easyui-tree" data-options="url:'',method:'get',animate:true"></ul>
            </div>
            <div title="Help" data-options="iconCls:'icon-help',closable:true" style="padding:10px">
                This is the help content.
            </div>
        </div>

    </div>
    <?php foreach ($navigate as $k => $v) : ?>
    <?php if ($v[ 'type' ] == '1'){ ?>
    <div title="<?= $v[ 'text' ]; ?>"
         data-options="href:'<?= site_url( "admin/admin/index" ); ?>?url_id=<?= $v[ 'id' ] ?>&level=second'"
         style="padding:5px 0;padding-bottom: 60px;">
        <?php }elseif ($v[ 'type' ] == '2'){ ?>
        <div title="<?= $v[ 'text' ]; ?>"
             data-options="href:'<?= site_url( $v[ 'url' ] ); ?>?id=<?= $v[ 'id' ] ?>'"
             style="padding:5px 0;padding-bottom: 60px;">
            <?php } ?>

        </div>
        <?php endforeach; ?>

        <!--<div title="日志" style="padding:10px">
            <ul class="easyui-tree" data-options="url:'',method:'get',animate:true"></ul>
        </div>-->
        <div title="帮助" data-options="iconCls:'icon-help',closable:true" style="padding:10px">
            这个是博客后台帮助版块
        </div>
    </div>
    <div style="height: 200px;"></div>
    <div id="msg_alert_dialog" class="easyui-dialog" style="width:400px;height:200px;"
         data-options="closed:true,modal:true">
        这个是消息列表
    </div>

    <script type="text/javascript">
        $(function () {
            $("#msg_alert_dialog").dialog({
                title: '消息列表',
            });
            $(".msg_alert_tag").click(function () {
                $("#msg_alert_dialog").dialog('open');
            })
        })
    </script>


